package com.balabala.gym_user.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;


@Document(indexName = "venues",shards = 3,replicas = 2)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VenuesAppQueryDto implements Serializable {

    @ApiModelProperty("场馆名称")
    @Field(type = FieldType.Text,analyzer = "ik_max_word")
    private String name;

}
